package cn.edu.ujn.lab3.dao;

import java.io.Serializable;

public class Invoice implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    private Integer invoiceId;		  //发票id
    
    private String orderId;			  //订单id
    
    private String invoiceTitle;      //购物方（发票开给谁的）
   
    private String invoiceContent;    //发票内容
    
    private String invoiceAmount;     //发票资金
    
    private Integer invoiceType;	  //发票类型
    
    private Integer start;            // 起始行

    private Integer rows;             // 所取行数

    public Integer getInvoiceId() {
        return invoiceId;
    }

    public void setInvoiceId(Integer invoiceId) {
        this.invoiceId = invoiceId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getInvoiceTitle() {
        return invoiceTitle;
    }

    public void setInvoiceTitle(String invoiceTitle) {
        this.invoiceTitle = invoiceTitle;
    }

    public String getInvoiceContent() {
        return invoiceContent;
    }

    public void setInvoiceContent(String invoiceContent) {
        this.invoiceContent = invoiceContent;
    }

    public String getInvoiceAmount() {
        return invoiceAmount;
    }

    public void setInvoiceAmount(String invoiceAmount) {
        this.invoiceAmount = invoiceAmount;
    }

    public Integer getInvoiceType() {
        return invoiceType;
    }

    public void setInvoiceType(Integer invoiceType) {
        this.invoiceType = invoiceType;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    @Override
    public String toString() {
        return "Invoice{" +
                "invoiceId=" + invoiceId +
                ", orderId='" + orderId + '\'' +
                ", invoiceTitle='" + invoiceTitle + '\'' +
                ", invoiceContent='" + invoiceContent + '\'' +
                ", invoiceAmount='" + invoiceAmount + '\'' +
                ", invoiceType=" + invoiceType +
                ", start=" + start +
                ", rows=" + rows +
                '}';
    }
}